package com.example.model.entity.shopping;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 药物订单表
*/
@Data
@ApiModel(description = "药物订单信息")
public class Order {
    /** ID */
    @ApiModelProperty(hidden = true,value = "ID")
    private Integer id;
    /** 用户Id */
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    @ApiModelProperty(value = "医生ID")
    private Integer doctorId;
    /** 药物ID */
    @ApiModelProperty(value = "药物规格ID")
    private Integer medicinesStyleId;
    /** 我的地址Id */
    @ApiModelProperty(value = "我的地址ID")
    private Integer addressId;
    /** 商家ID */
    @ApiModelProperty(value = "商家ID")
    private Double businessId;
    /** 订单号 */
    @ApiModelProperty(value = "订单号")
    private String orderId;
    /** 用户评价ID */
    @ApiModelProperty(value = "用户评价ID")
    private Integer commentId;
    /** 下单时间 */
    @ApiModelProperty(value = "下单时间")
    private Date orderData;
    /** 药物数量 */
    @ApiModelProperty(value = "药物数量")
    private Integer num;
    /** 订单总价 */
    @ApiModelProperty(value = "订单总价")
    private Double totalPrice;
    /** 发货时间 */
    @ApiModelProperty(value = "发货时间")
    private Date deliverTime;
    /** 发货状态 */
    @ApiModelProperty(value = "发货状态")
    private String status;

    private Double allPrice;
    private String userName;
    private String medicinesName;
    private Integer medicinesId;
    private List<Cart> CartData;


}
